<script setup>

const props = defineProps({
  modelValue: String | Number,
})
const emits = defineEmits([
  'update:modelValue',
]);
function onChange(e) {
  emits('update:modelValue', e.target.value);
}
</script>

<template>
  <input type="text"
    :value="modelValue"
    @input="onChange"
  >
</template>

<style scope>

</style>
